package com.androidx.p013lv.base.bean;

import java.util.Arrays;
import java.util.List;
import org.greenrobot.greendao.converter.PropertyConverter;

/* renamed from: com.androidx.lv.base.bean.NovelHistory */
public class NovelHistory {
    private String coverImg;
    private int fakeLikes;
    private int fakeWatchTimes;
    private int fictionId;
    private int fictionSpace;
    private String fictionTitle;
    private int fictionType;

    /* renamed from: id */
    private Long f165id;
    private String info;
    private List<String> tagList;

    public NovelHistory(Long l, String str, int i, int i2, int i3, int i4, String str2, int i5, String str3, List<String> list) {
        this.f165id = l;
        this.coverImg = str;
        this.fakeLikes = i;
        this.fakeWatchTimes = i2;
        this.fictionId = i3;
        this.fictionSpace = i4;
        this.fictionTitle = str2;
        this.fictionType = i5;
        this.info = str3;
        this.tagList = list;
    }

    public NovelHistory(String str, int i, int i2, int i3, int i4, String str2, int i5, String str3, List<String> list) {
        this.coverImg = str;
        this.fakeLikes = i;
        this.fakeWatchTimes = i2;
        this.fictionId = i3;
        this.fictionSpace = i4;
        this.fictionTitle = str2;
        this.fictionType = i5;
        this.info = str3;
        this.tagList = list;
    }

    public NovelHistory() {
    }

    public Long getId() {
        return this.f165id;
    }

    public void setId(Long l) {
        this.f165id = l;
    }

    public String getCoverImg() {
        return this.coverImg;
    }

    public void setCoverImg(String str) {
        this.coverImg = str;
    }

    public int getFakeLikes() {
        return this.fakeLikes;
    }

    public void setFakeLikes(int i) {
        this.fakeLikes = i;
    }

    public int getFakeWatchTimes() {
        return this.fakeWatchTimes;
    }

    public void setFakeWatchTimes(int i) {
        this.fakeWatchTimes = i;
    }

    public int getFictionId() {
        return this.fictionId;
    }

    public void setFictionId(int i) {
        this.fictionId = i;
    }

    public int getFictionSpace() {
        return this.fictionSpace;
    }

    public void setFictionSpace(int i) {
        this.fictionSpace = i;
    }

    public String getFictionTitle() {
        return this.fictionTitle;
    }

    public void setFictionTitle(String str) {
        this.fictionTitle = str;
    }

    public int getFictionType() {
        return this.fictionType;
    }

    public void setFictionType(int i) {
        this.fictionType = i;
    }

    public String getInfo() {
        return this.info;
    }

    public void setInfo(String str) {
        this.info = str;
    }

    public List<String> getTagList() {
        return this.tagList;
    }

    public void setTagList(List<String> list) {
        this.tagList = list;
    }

    /* renamed from: com.androidx.lv.base.bean.NovelHistory$StringConverter */
    public static class StringConverter implements PropertyConverter<List<String>, String> {
        public List<String> convertToEntityProperty(String str) {
            if (str == null) {
                return null;
            }
            return Arrays.asList(str.split(","));
        }

        public String convertToDatabaseValue(List<String> list) {
            if (list == null) {
                return null;
            }
            StringBuilder sb = new StringBuilder();
            for (String str : list) {
                sb.append(str);
                sb.append(",");
            }
            return sb.toString();
        }
    }
}
